﻿using MyNeighbourhood.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MyNeighbourhood.Models
{
    public class FeedbackModel
    {
        [Required]
        public FeedbackType Type { get; set; }

        [Required]
        public string Subject { get; set; }

        [Required]
        public string Text { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }
        
        public List<ReceiverCheck> Receivers { get; set; }
    }
}